import {ref} from "vue";
import {IUserWorkInformationInterface} from "./utils/UserWorkInformationInterface";
import {createUserWorkInformation} from "./utils/createUserWorkInformation";

export function useWorkInformation() {
    const userWorkInformation = ref<IUserWorkInformationInterface>()

    userWorkInformation.value = createUserWorkInformation()

    function getUserWorkInformation(account: string) {
        //TODO 获取后台用户工作信息
        console.log(account)
    }


    return {
        userWorkInformation, getUserWorkInformation
    }
}